<?php
/**
 * 管理员模型
 * panglishan
 * 2020.07.24
 */
namespace App\Models\SociatyDB;

use Illuminate\Database\Eloquent\Model;

class Admin extends Model{

    protected $connection = 'mysql_sociaty';

    protected $table = 'sc_admin';

    protected $primaryKey = 'admin_id';

    protected $fillable = [
        'admin_id',
        'admin_name',
        'admin_account',
        'email',
        'password',
        'phone',
        'avatar',
        'last_login_ip',
        'last_login_time',
        'login_count',
        'sc_id',
        'role_id',
        'status',
        'add_time',
        'init_password'
    ];

    public $timestamps = false;


}